package cn.com.waajyun.shanbayscan.dto;

import com.alibaba.fastjson.annotation.JSONField;

import java.util.Date;

public class ArticleDto {

    @JSONField(name = "topic_post_id")
    private String topicPostId;
    @JSONField(name = "author")
    private AuthorDto author;
    @JSONField(name = "activity")
    private Boolean activity;
    @JSONField(name = "dead")
    private Boolean dead;
    @JSONField(name = "absolute_url")
    private String absoluteUrl;
    @JSONField(name = "title")
    private String title;
    @JSONField(name = "posts")
    private Integer posts;
    @JSONField(name = "forum_id")
    private String forumId;
    @JSONField(name = "topic_post_content")
    private String topicPostContent;
    @JSONField(name = "author_id")
    private String authorId;
    @JSONField(name = "closed")
    private Boolean closed;
    @JSONField(name = "topic_post_time")
    private Date topicPostTime;
    @JSONField(name = "latest_post_time")
    private Date latestPostTime;

    public String getTopicPostId() {
        return topicPostId;
    }

    public void setTopicPostId(String topicPostId) {
        this.topicPostId = topicPostId;
    }

    public AuthorDto getAuthor() {
        return author;
    }

    public void setAuthor(AuthorDto author) {
        this.author = author;
    }

    public Boolean getActivity() {
        return activity;
    }

    public void setActivity(Boolean activity) {
        this.activity = activity;
    }

    public Boolean getDead() {
        return dead;
    }

    public void setDead(Boolean dead) {
        this.dead = dead;
    }

    public String getAbsoluteUrl() {
        return absoluteUrl;
    }

    public void setAbsoluteUrl(String absoluteUrl) {
        this.absoluteUrl = absoluteUrl;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Integer getPosts() {
        return posts;
    }

    public void setPosts(Integer posts) {
        this.posts = posts;
    }

    public String getForumId() {
        return forumId;
    }

    public void setForumId(String forumId) {
        this.forumId = forumId;
    }

    public String getTopicPostContent() {
        return topicPostContent;
    }

    public void setTopicPostContent(String topicPostContent) {
        this.topicPostContent = topicPostContent;
    }

    public String getAuthorId() {
        return authorId;
    }

    public void setAuthorId(String authorId) {
        this.authorId = authorId;
    }

    public Boolean getClosed() {
        return closed;
    }

    public void setClosed(Boolean closed) {
        this.closed = closed;
    }

    public Date getTopicPostTime() {
        return topicPostTime;
    }

    public void setTopicPostTime(Date topicPostTime) {
        this.topicPostTime = topicPostTime;
    }

    public Date getLatestPostTime() {
        return latestPostTime;
    }

    public void setLatestPostTime(Date latestPostTime) {
        this.latestPostTime = latestPostTime;
    }
}
